package com.packet.service;

import com.packet.pojo.Examine;
import com.packet.pojo.Trip;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @className:getServiceFormFinance
 * @Author:wallet_packet Date:2023-12-11 17:07
 * @Describe:
 */
@FeignClient(name = "SPRINGCLOUD-FINANCE")
@Service
public interface GetServiceFormFinance {
    @RequestMapping("/finance/queryAll/staff")
    public String queryAllStaff();

    @RequestMapping("/finance/getExamine/{bid}")
    public Examine getExamines(@PathVariable("bid") Integer bid);
}
